package org.lboot.llog.module.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.lboot.core.domain.PageParamDTO;

import java.util.List;
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "日志查询参数")
public class ApiLogQueryParams extends PageParamDTO {

    @ApiModelProperty(value = "追踪ID")
    String traceId;

    // 微服务名称
    @ApiModelProperty(value = "服务列表")
    List<String> services;

    @ApiModelProperty(value = "模块列表")
    List<String> modules;

    @ApiModelProperty(value = "方法列表")
    List<String> actions;

    @ApiModelProperty(value = "状态列表")
    List<Integer> statuses;

    @ApiModelProperty("操作用户ID")
    String operatorId;

    @ApiModelProperty(value = "请求检索词")
    String reqKey;
}
